package com.zw.leave.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zw.object.leave.LeaveApply;
import com.zw.object.result.Result;
import com.zw.object.vo.SearchLeaveVo;

/**
 * <p>
 * 请假审批表 服务类
 * </p>
 *
 * @author zw
 * @since 2023-03-10
 */
public interface LeaveApplyService extends IService<LeaveApply> {

    Result saveLeaver(LeaveApply leaveApply);

    Result searchLeaveAndPage(SearchLeaveVo leaveVo, String userId);

    Result updateLeaveInfoById(LeaveApply leaveApply);
}
